import Vue from 'vue'
import {
  Button,
  ButtonGroup,
  Tooltip,
  Dialog,
  Collapse,
  CollapseItem,
  Form,
  FormItem,
  Table,
  TableColumn,
  Drawer,
  Select,
  Option,
  Divider,
  Switch,
  Input,
  Loading,
  Radio,
  RadioGroup,
  Row,
  Col,
  Checkbox,
  Popover,
  Tag,
  Tree,
  Card,
  Pagination,
  MessageBox,
  Scrollbar,
  InputNumber,
  Message
} from 'element-ui'
Vue.use(Button)
Vue.use(ButtonGroup)
Vue.use(Tooltip)
Vue.use(Dialog)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Select)
Vue.use(Option)
Vue.use(Divider)
Vue.use(Drawer)
Vue.use(Switch)
Vue.use(Input)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(Row)
Vue.use(Col)
Vue.use(Checkbox)
Vue.use(Popover)
Vue.use(Tree)
Vue.use(Card)
Vue.use(Tag)
Vue.use(Pagination)
Vue.use(Loading.directive)
Vue.use(Scrollbar)
Vue.use(InputNumber)
// 整体调整组件大小
Vue.prototype.$ELEMENT = { size: 'small' }
Vue.prototype.$elConfirm = MessageBox.confirm
Vue.prototype.$elMessage = Message
